HashiCorp Infrastructure Automation Certification Guide by Ravi Mishra

HashiCorp Infrastructure Automation Certification Guide by Ravi Mishra

Author:Ravi Mishra
Language: eng
Format: epub
Publisher: Packt Publishing Pvt. Ltd.
Published: 2021-07-14T00:00:00+00:00


Figure 5.10 – AWS services

Finally, we managed to create an AWS VPC using the Terraform configuration code. Suppose tomorrow you want to create more services along with this VPC. You just need to define that resource or module code block in your Terraform configuration file, and Terraform will provision or update those particular services.

Important note

You should use an IAM user account rather than using a root account for integrating AWS with Terraform. For more information on IAM accounts, you can refer to https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

In this section, we discussed how you can authenticate Terraform to AWS, and then we explained how to write a Terraform configuration file to provision services in AWS by taking a simple example of an AWS VPC. In our next section, we will discuss the authentication of Terraform to GCP and, accordingly, we will try to create some services in GCP.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.